const initialState = {
    title: "哈哈商城",
    wdata: []
}

export default (state = initialState, { type, payload }) => {
    switch (type) {

        case "INIT_HOME":
            return { ...state, ...payload }

        default:
            return state
    }
}
